package cn.legend.travel.admin.content.dao.persist.mapper;

import cn.legend.travel.admin.content.pojo.entity.Review;
import cn.legend.travel.admin.content.pojo.vo.ReviewCheckVO;
import cn.legend.travel.admin.content.pojo.vo.ReviewDetailVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReviewMapper extends BaseMapper<Review> {

    List<ReviewCheckVO> list();

    ReviewDetailVO getDetail(Long id);
}
